home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 63 69 | 73 75 6e 32 30 30 30 2e |Path: ci|sun2000.|
|00000010| 75 6e 69 6c 2e 63 68 21 | 6e 65 77 73 0a 46 72 6f |unil.ch!|news.Fro|
|00000020| 6d 3a 20 46 72 61 6e 63 | 6f 69 73 20 44 75 66 72 |m: Franc|ois Dufr|
|00000030| 65 73 6e 65 20 3c 66 64 | 75 66 72 65 73 6e 40 63 |esne <fd|ufresn@c|
|00000040| 69 73 75 6e 32 30 30 30 | 2e 75 6e 69 6c 2e 63 68 |isun2000|.unil.ch|
|00000050| 3e 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 63 6f |>.Newsgr|oups: co|
|00000060| 6d 70 2e 6c 61 6e 67 2e | 63 0a 53 75 62 6a 65 63 |mp.lang.|c.Subjec|
|00000070| 74 3a 20 52 65 3a 20 44 | 4f 53 20 74 69 6d 65 6f |t: Re: D|OS timeo|
|00000080| 75 74 20 61 6e 64 20 75 | 6e 64 65 72 6c 69 6e 65 |ut and u|nderline|
|00000090| 0a 44 61 74 65 3a 20 32 | 33 20 46 65 62 20 31 39 |.Date: 2|3 Feb 19|
|000000a0| 39 36 20 30 39 3a 35 32 | 3a 33 34 20 47 4d 54 0a |96 09:52|:34 GMT.|
|000000b0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 55 6e |Organiza|tion: Un|
|000000c0| 69 76 65 72 73 69 74 79 | 20 6f 66 20 4c 61 75 73 |iversity| of Laus|
|000000d0| 61 6e 6e 65 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |anne.Mes|sage-ID:|
|000000e0| 20 3c 34 67 6b 32 70 32 | 24 71 76 38 40 63 69 73 | <4gk2p2|$qv8@cis|
|000000f0| 75 6e 32 30 30 30 2e 75 | 6e 69 6c 2e 63 68 3e 0a |un2000.u|nil.ch>.|
|00000100| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 44 6e 37 |Referenc|es: <Dn7|
|00000110| 4a 37 34 2e 4d 34 39 40 | 6c 6f 67 69 63 61 6c 2e |J74.M49@|logical.|
|00000120| 6e 65 74 3e 0a 4e 4e 54 | 50 2d 50 6f 73 74 69 6e |net>.NNT|P-Postin|
|00000130| 67 2d 48 6f 73 74 3a 20 | 70 63 62 66 73 68 31 2d |g-Host: |pcbfsh1-|
|00000140| 36 30 31 2e 75 6e 69 6c | 2e 63 68 0a 4d 69 6d 65 |601.unil|.ch.Mime|
|00000150| 2d 56 65 72 73 69 6f 6e | 3a 20 31 2e 30 0a 43 6f |-Version|: 1.0.Co|
|00000160| 6e 74 65 6e 74 2d 54 79 | 70 65 3a 20 74 65 78 74 |ntent-Ty|pe: text|
|00000170| 2f 70 6c 61 69 6e 3b 20 | 63 68 61 72 73 65 74 3d |/plain; |charset=|
|00000180| 75 73 2d 61 73 63 69 69 | 0a 43 6f 6e 74 65 6e 74 |us-ascii|.Content|
|00000190| 2d 54 72 61 6e 73 66 65 | 72 2d 45 6e 63 6f 64 69 |-Transfe|r-Encodi|
|000001a0| 6e 67 3a 20 37 62 69 74 | 0a 58 2d 4d 61 69 6c 65 |ng: 7bit|.X-Maile|
|000001b0| 72 3a 20 4d 6f 7a 69 6c | 6c 61 20 31 2e 32 32 20 |r: Mozil|la 1.22 |
|000001c0| 28 57 69 6e 64 6f 77 73 | 3b 20 49 3b 20 31 36 62 |(Windows|; I; 16b|
|000001d0| 69 74 29 0a 54 6f 3a 20 | 61 6c 65 78 61 6e 64 72 |it).To: |alexandr|
|000001e0| 40 6c 6f 67 69 63 61 6c | 2e 6e 65 74 0a 0a 61 6c |@logical|.net..al|
|000001f0| 65 78 61 6e 64 72 40 6c | 6f 67 69 63 61 6c 2e 6e |exandr@l|ogical.n|
|00000200| 65 74 20 28 52 69 63 6b | 20 26 20 44 69 61 6e 65 |et (Rick| & Diane|
|00000210| 20 41 6c 65 78 61 6e 64 | 65 72 29 20 77 72 6f 74 | Alexand|er) wrot|
|00000220| 65 3a 0a 3e 49 20 77 72 | 6f 74 65 20 61 20 6c 69 |e:.>I wr|ote a li|
|00000230| 74 74 6c 65 20 44 4f 53 | 2d 62 61 73 65 64 20 64 |ttle DOS|-based d|
|00000240| 61 74 61 20 69 6e 70 75 | 74 20 70 72 6f 67 72 61 |ata inpu|t progra|
|00000250| 6d 2c 20 61 6e 64 20 6e | 65 65 64 20 74 6f 20 65 |m, and n|eed to e|
|00000260| 69 74 68 65 72 0a 3e 68 | 69 6c 69 67 68 74 20 74 |ither.>h|ilight t|
|00000270| 68 65 20 69 6e 70 75 74 | 20 66 69 65 6c 64 73 2c |he input| fields,|
|00000280| 20 6f 72 20 75 6e 64 65 | 72 6c 69 6e 65 20 74 68 | or unde|rline th|
|00000290| 65 6d 2e 20 0a 3e 41 6c | 73 6f 2c 20 6e 65 65 64 |em. .>Al|so, need|
|000002a0| 20 74 6f 20 74 69 6d 65 | 6f 75 74 20 77 68 65 6e | to time|out when|
|000002b0| 20 75 73 65 72 20 64 6f | 65 73 20 6e 6f 74 20 73 | user do|es not s|
|000002c0| 61 76 65 20 64 61 74 61 | 20 61 66 74 65 72 20 61 |ave data| after a|
|000002d0| 20 66 65 77 0a 3e 6d 69 | 6e 75 74 65 73 2e 20 44 | few.>mi|nutes. D|
|000002e0| 65 76 65 6c 6f 70 65 64 | 20 69 6e 20 42 6f 72 6c |eveloped| in Borl|
|000002f0| 61 6e 64 20 43 20 34 2e | 35 32 0a 3e 44 6f 65 73 |and C 4.|52.>Does|
|00000300| 20 61 6e 79 6f 6e 65 20 | 68 61 76 65 20 61 6e 79 | anyone |have any|
|00000310| 20 69 64 65 61 73 20 6f | 6e 20 77 68 65 72 65 20 | ideas o|n where |
|00000320| 74 6f 20 74 75 72 6e 20 | 74 6f 20 67 65 74 20 74 |to turn |to get t|
|00000330| 68 69 73 20 64 6f 6e 65 | 2e 0a 3e 49 20 6f 72 69 |his done|..>I ori|
|00000340| 67 69 6e 61 6c 6c 79 20 | 77 72 6f 74 65 20 74 68 |ginally |wrote th|
|00000350| 69 73 20 69 6e 20 55 4e | 49 58 20 43 2c 20 61 6e |is in UN|IX C, an|
|00000360| 64 20 74 68 65 20 75 6e | 69 78 20 43 55 52 53 45 |d the un|ix CURSE|
|00000370| 53 2e 48 20 6c 69 62 72 | 61 72 79 20 68 61 64 0a |S.H libr|ary had.|
|00000380| 3e 74 68 65 20 75 6e 64 | 65 72 6c 69 6e 65 20 72 |>the und|erline r|
|00000390| 6f 75 74 69 6e 65 2c 20 | 61 6e 64 20 74 68 65 20 |outine, |and the |
|000003a0| 53 49 47 4e 41 4c 2e 48 | 20 6c 69 62 72 61 72 79 |SIGNAL.H| library|
|000003b0| 20 68 61 64 20 61 20 74 | 69 6d 65 64 20 41 4c 41 | had a t|imed ALA|
|000003c0| 52 4d 20 74 68 61 74 0a | 3e 77 6f 75 6c 64 20 66 |RM that.|>would f|
|000003d0| 6c 61 67 20 61 66 74 65 | 72 20 73 6f 20 6d 61 6e |lag afte|r so man|
|000003e0| 79 20 73 65 63 6f 6e 64 | 73 2e 0a 3e 54 68 61 6e |y second|s..>Than|
|000003f0| 6b 73 20 69 6e 20 61 64 | 76 61 6e 63 65 2c 20 69 |ks in ad|vance, i|
|00000400| 66 20 61 6e 79 6f 6e 65 | 20 68 61 73 20 61 6e 79 |f anyone| has any|
|00000410| 20 69 64 65 61 73 2e 0a | 3e 52 69 63 6b 20 41 6c | ideas..|>Rick Al|
|00000420| 65 78 61 6e 64 65 72 20 | 0a 3e 0a 0a 54 72 79 20 |exander |.>..Try |
|00000430| 74 68 65 20 73 6d 61 6c | 6c 20 70 72 6f 67 72 61 |the smal|l progra|
|00000440| 6d 20 62 65 6c 6f 77 20 | 61 6e 64 20 66 69 67 75 |m below |and figu|
|00000450| 72 65 20 6f 75 74 20 68 | 6f 77 20 74 68 65 20 76 |re out h|ow the v|
|00000460| 69 64 65 6f 20 6d 65 6d | 6f 72 79 20 69 73 0a 64 |ideo mem|ory is.d|
|00000470| 65 73 69 67 6e 65 64 2e | 20 45 2e 67 2e 2c 20 69 |esigned.| E.g., i|
|00000480| 6e 20 38 30 78 32 35 20 | 6d 6f 64 65 3a 20 63 68 |n 80x25 |mode: ch|
|00000490| 61 72 2c 20 61 74 74 72 | 69 62 2c 20 63 68 61 72 |ar, attr|ib, char|
|000004a0| 2c 20 61 74 74 72 69 62 | 2c 20 2e 2e 2e 2c 20 69 |, attrib|, ..., i|
|000004b0| 2e 65 2e 20 34 30 30 30 | 20 62 79 74 65 73 2e 0a |.e. 4000| bytes..|
|000004c0| 0a 6d 61 69 6e 28 29 0a | 7b 0a 20 20 20 20 75 6e |.main().|{. un|
|000004d0| 73 69 67 6e 65 64 20 6f | 66 66 73 65 74 2c 20 69 |signed o|ffset, i|
|000004e0| 3b 0a 20 20 20 20 63 68 | 61 72 20 66 61 72 20 2a |;. ch|ar far *|
|000004f0| 76 67 61 73 65 67 2c 20 | 63 3b 0a 0a 20 20 20 20 |vgaseg, |c;.. |
|00000500| 76 67 61 73 65 67 20 3d | 20 28 63 68 61 72 20 66 |vgaseg =| (char f|
|00000510| 61 72 20 2a 29 20 30 78 | 42 38 30 30 30 30 30 30 |ar *) 0x|B8000000|
|00000520| 3b 0a 20 20 20 20 66 6f | 72 20 28 69 3d 6f 66 66 |;. fo|r (i=off|
|00000530| 73 65 74 3d 30 3b 20 69 | 20 3c 20 32 30 30 30 20 |set=0; i| < 2000 |
|00000540| 3b 20 69 2b 2b 29 7b 0a | 20 20 20 20 20 20 20 20 |; i++){.| |
|00000550| 20 76 67 61 73 65 67 5b | 6f 66 66 73 65 74 2b 2b | vgaseg[|offset++|
|00000560| 5d 20 3d 20 69 25 32 35 | 36 3b 0a 09 20 76 67 61 |] = i%25|6;.. vga|
|00000570| 73 65 67 5b 6f 66 66 73 | 65 74 2b 2b 5d 20 3d 20 |seg[offs|et++] = |
|00000580| 28 31 32 38 2d 69 29 25 | 32 35 36 3b 09 2f 2f 20 |(128-i)%|256;.// |
|00000590| 66 6f 72 20 74 68 65 20 | 61 74 74 72 69 62 75 74 |for the |attribut|
|000005a0| 65 0a 20 20 20 20 7d 0a | 7d 0a 0a 59 6f 75 20 63 |e. }.|}..You c|
|000005b0| 61 6e 20 62 75 69 6c 64 | 20 61 20 73 63 72 65 65 |an build| a scree|
|000005c0| 6e 20 69 6d 61 67 65 20 | 69 6e 20 61 20 62 75 66 |n image |in a buf|
|000005d0| 66 65 72 20 61 6e 64 20 | 74 68 65 6e 20 75 73 65 |fer and |then use|
|000005e0| 20 6d 65 6d 6d 6f 76 65 | 28 29 20 6f 72 20 6d 65 | memmove|() or me|
|000005f0| 6d 63 6f 70 79 28 29 0a | 74 6f 20 77 72 69 74 65 |mcopy().|to write|
|00000600| 20 69 74 20 69 6e 20 74 | 68 65 20 76 69 64 65 6f | it in t|he video|
|00000610| 20 6d 65 6d 6f 72 79 2e | 0a 0a 42 79 65 21 20 20 | memory.|..Bye! |
|00000620| 46 2e 20 44 75 66 72 65 | 73 6e 65 0a 0a 0a |F. Dufre|sne... |
+--------+-------------------------+-------------------------+--------+--------+